<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>#{bundles.i18n.default_title}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <h:outputStylesheet name="wouplaTheme/skin.css" />
	 <h:outputStylesheet name="css/main.css" />
</h:head>
<h:body>
	<p:growl id="messages" autoUpdate="true" />
	<div class="navbar navbar-inverse navbar-fixed-top">
    	<div class="navbar-inner">
	      	<div class="container">
	        	<p:commandLink action="pretty:home" process="@this" styleClass="brand"><p:graphicImage value="/resources/gfx/woupla.png" /></p:commandLink>
			          <div class="nav-collapse collapse pull-right">
			            <ul class="nav">
							<li class="active"><p:commandLink id="home" value="#{bundles.i18n.home}" action="pretty:home" process="@this" /></li>
							<li><p:commandLink id="search" value="#{bundles.i18n.recherche}" disabled="#{desktopMBean.disabledSearchButton}"
									action="pretty:search" process="@this" /></li>
							<li><p:commandLink id="profil" value="Profil" disabled="#{desktopMBean.disabledProfilButton}" action="pretty:profil"
									process="@this" /></li>
							<li><p:commandLink id="mySociety" value="#{bundles.i18n.menu_mysociety}" disabled="#{desktopMBean.disabledMySocietyButton}"
									rendered="#{desktopMBean.renderedMySocietyButton}" action="pretty:company" process="@this" /></li>
							<li><h:form id="logoutForm"><p:commandLink id="logout" value="Déconnexion" action="#{identity.logout}"  process="@this" ajax="false" /></h:form></li>
						</ul>
					</div>
			</div>
		</div>
	</div>
    <div class="container">
    	<div id="new-content">
		<ui:insert name="content">
                   [Template content will be inserted here]
        </ui:insert>
        <div style="clear:both;"></div>
        </div>
    </div> <!-- /container -->

	      <footer>
		  <div class="footer-inner">
		  		  <div class="pull-right">
			<p>&copy; Woupla 2013</p>
		  </div>
		  <div class="container">
		  <a href="" title="Contact">Contact</a>
		  </div>
		</div>
      </footer>
</h:body>
</html>
